﻿<?php
	@session_start();
	$_SESSION['opcion'] = 0;
	@include_once('../ayuda/encabezado.php');
?>
			<table width="650px" border="0" cellpadding="0" cellspacing="0" align="center">
				<tbody>
        			<tr>
    					<td width="650px" style="background-color:#FFFFFF;" align="center" valign="top">
                            <form id="form_login" action="../../controladores/sesion_controller.php" method="post">
                                <table class="b_gris_tabla centrado fondo3" border="0" cellpadding="2" cellspacing="3">
                                    <tbody>
                                        <tr>
                                            <td colspan="2" class="fondo1 titulo" align="center">Inicio de Sesi&oacute;n</td>
                                        </tr>
                                        
                                        <tr>
                                            <td align="center" width="400px" colspan="2">
                                                <span style="color:#FF0000">
                                                <b>
                                                    <?php 
                                                        if ( isset($_SESSION['mensaje'])) {
                                                            echo $_SESSION['mensaje'];
                                                        }
                                                    ?>
                                                </b>
                                                </span>
                                            </td>
                                        </tr>
                                        
                                        <tr>
                                            <td align="right" width="170px">
                                                <a class="info" href="#" tabindex="-1">&nbsp;*&nbsp;<span>Campo Obligatorio</span></a>
                                                Usuario:
                                            </td>
                                            <td align="left" width="230px">
                                                <input id="login" name="login" title="Usuario" size="20" type="text" onKeyPress="return(formato_campo(this,event,10))" onChange='convertir_Mayusculas(this);' placeholder="USUARIO" />
                                            </td>
                                        </tr>
                                        <tr>				
                                            <td align="right">
                                                <a class="info" href="#" tabindex="-1">&nbsp;*&nbsp;<span>Campo Obligatorio</span></a>
                                                Contrase&ntilde;a:
                                            </td>
                                            <td align="left">
                                                <input id="password" name="password" title="Contrase&ntilde;a" size="20" type="password" onKeyPress="return(formato_campo(this,event,10))" placeholder="CONTRASE&Ntilde;A" autocomplete="off" />
                                            </td>
                                        </tr>
           								
                                        <tr>
                                            <td colspan="2" align="center">
                                                <div class="fondo2_2" style="color:#94a32f" align="center" colspan="2">
                                                    * Campo Obligatorio 
                                                </div>
                                            </td>
                                        </tr>
                						
										<tr>                	
											<td align="center" colspan="2">
                                                <a>
                                                    <img src="../../publicos/images/btn_ingresar_a.gif" id="ingresar_log" name="ingresar_log" width="75px" height="23px" onmouseover="MM_swapImage('ingresar_log','','../../publicos/images/btn_ingresar_b.gif',1)" onmouseout="MM_swapImgRestore()" onclick="iniciarSesion(); return false;" />
                                                </a>
                                                <a>
                                                    <img src="../../publicos/images/btn_regresar_a.gif" id="regresar_log" name="regresar_log" width="75px" height="23px" onmouseover="MM_swapImage('regresar_log','','../../publicos/images/btn_regresar_b.gif',1)" onmouseout="MM_swapImgRestore()" onclick="parent.location='home.php'" />
                                                </a>
											</td>
                                        </tr>
                                    </tbody>
                                </table>
                            </form>		
                        </td>
                    </tr>
                </tbody>
            </table>
            <br/>
         	
<?php
	@include_once('../ayuda/pie.php');
?>